package top.ljlgithub.vo;

/**
 * @ClassName
 * @Description TODO
 * @Author L1470
 * @Date 2021/3/21 21:21
 * @Version 1.0
 **/
public class PageParam {
    private int rows;//每页显示的条数
    private int currentPage;//当前页码

    public PageParam() {
    }

    public PageParam(int rows, int currentPage) {
        this.rows = rows;
        this.currentPage = currentPage;
    }

    @Override
    public String toString() {
        return "PageParam{" +
                "rows=" + rows +
                ", currentPage=" + currentPage +
                '}';
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }
}
